package org.mspring.platform.security.dao.impl;

import org.mspring.platform.dao.hibernate.GenericDao;
import org.mspring.platform.security.dao.RoleTreeItemDao;
import org.mspring.platform.security.entity.RoleTreeItem;
import org.mspring.platform.security.entity.RoleTreeItemPK;
import org.springframework.stereotype.Repository;

/**
 * @author Gao Youbo
 * @since 2014年3月8日
 */
@Repository
public class RoleTreeItemDaoImpl extends GenericDao<RoleTreeItem, RoleTreeItemPK> implements RoleTreeItemDao {

    @Override
    public int clear() {
        return executeUpdate("delete from RoleTreeItem roleTreeItem");
    }

}
